From a646e5200b910a40893ce7eba3784f4f7aae3444 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 27 Jul 1993 22:49:05 +0000 Subject: [PATCH] (command_loop_1): Call Qrecompute_lucid_menubar only if defined. --- src/keyboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index fc1ac681f16..5714ec6ac13 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -961,7 +961,8 @@ command_loop_1 () #endif /* If it has changed current-menubar from previous value, really recompute the menubar from the value. */ - if (! NILP (Vlucid_menu_bar_dirty_flag)) + if (! NILP (Vlucid_menu_bar_dirty_flag) + && !NILP (Ffboundp (Qrecompute_lucid_menubar))) call0 (Qrecompute_lucid_menubar); #if 0 /* This is done in xdisp.c now. */ -- 2.30.2